class A {
  constructor(name) {
    this.name = name
  }
}

class B extends A {
  constructor(name) {
    super()
    this.name = name
  }
}

const a = new A()
console.log(a)

const b = new B()
console.log(b)
